﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Media.Imaging;
using System.Windows.Media;
using System.ComponentModel;
using System.Windows;
using System.Threading;
using System.IO;
using System.Windows.Threading;
using System.Threading.Tasks;

namespace ThreadingSample
{
    public class ImageModelTPL : Card
    {

        //--------------------------------------------------------------------------------------------------------------------------
        //
        //--------------------------------------------------------------------------------------------------------------------------

        public ImageModelTPL(string filename)
            : base(filename)
        {
        }

        //--------------------------------------------------------------------------------------------------------------------------

        //protected override void LoadImage()
        //{
        //    Task.Factory.StartNew(() =>
        //    {
        //        DoLoadImage();
        //    });
        //}

        //--------------------------------------------------------------------------------------------------------------------------

        //public override void LoadThumbnail()
        //{
        //    Task.Factory.StartNew(() =>
        //    {
        //        DoLoadThumbnail();
        //    });
        //}

        //--------------------------------------------------------------------------------------------------------------------------
    }
}